package com.eastfair.messagecenter.dto;

import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.messagecenter.enumeration.ProviderType;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 消息服务商
 * </p>
 *
 * @author ligang
 * @since 2022-09-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "MsgServicePageQuery", description = "消息服务商")
public class MsgServicePageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 供应商类型 
     * #ProviderType{ALI:OK,阿里云短信;TENCENT:0,腾讯云短信;BAIDU:1000,百度云短信}
     */
    @ApiModelProperty(value = "供应商类型")
    private ProviderType providerType;
    /**
     * 企业ID
     */
    @ApiModelProperty(value = "企业ID")
    private String firmId;
    /**
     * 应用ID
     */
    @ApiModelProperty(value = "应用ID")
    private String appId;
    /**
     * 应用密码
     */
    @ApiModelProperty(value = "应用密码")
    private String appSecret;
    /**
     * SMS服务域名 
     * 百度、其他厂商会用
     */
    @ApiModelProperty(value = "SMS服务域名")
    private String url;
    /**
     * 签名
     */
    @ApiModelProperty(value = "签名")
    private String signName;
    /**
     * 余额
     */
    @ApiModelProperty(value = "余额")
    private BigDecimal balanceMoney;
    /**
     * 发送量
     */
    @ApiModelProperty(value = "发送量")
    private Integer sendTotal;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String templateDescribe;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 团队id
     */
    @ApiModelProperty(value = "团队id")
    private Long teamId;
    /**
     * 是否生效(默认1：可用 0:不可用)
     */
    @ApiModelProperty(value = "是否生效(默认1：可用 0:不可用)")
    private Integer isEnabled;
    /**
     * 是否删除(默认0：未删除 1:已删除)
     */
    @ApiModelProperty(value = "是否删除(默认0：未删除 1:已删除)")
    private Integer isDeleted;

}
